<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.*"%>
<html>
  <head>
  <title>Check Login</title>
  </head>
  <body>
  <s:if test="#session.userId != null">
  	<jsp:forward page="/WEB-INF/content/details.jsp" />  
  </s:if>
  <s:else>
  	<jsp:forward page="/WEB-INF/content/offDetails.jsp" />
  </s:else>
  </body>
</html>